let _this = null

function options(vm) {
  _this = vm
  return [
    [{
      title: '流程名称',
      placeholder: '请输入流程名称,最多10个字',
      key: 'processName',
      input: {
        maxlength: 10,
      },
      rules: [{
        required: true,
        message: '请输入流程名称',
        trigger: 'blur'
      }, {
        max: 10,
        message: '最多10个字',
        trigger: 'blur,change'
      }]
    }],
  ]
}

export default {
  options
}